#include "string.h"


namespace ouyang
{
	void Text01()
	{
		string s1;
		string s2("hello world");
		cout << s1.c_str() << endl;
		cout << s2.c_str() << endl;

		string s3("ouyang");
		swap(s2, s3);
		cout << s2.c_str() << endl;
		cout << s3.c_str() << endl;
		cout << s2 << endl;
		cout << s3 << endl;

	}
}

int main()
{

	ouyang::Text01();

	return 0;
}